
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title>后台管理</title>
    <meta name="description" content="overview &amp; stats"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <!-- basic styles -->
    <link href="__CSS__/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__CSS__/font-awesome.min.css"/>
    <!-- ace styles -->
    <link rel="stylesheet" href="__CSS__/ace.min.css"/>
    <!--page cover style-->
    <!--<link rel="stylesheet" href="css/business.css">-->
    <link rel="stylesheet" href="__CSS__/my-style2.css">
    <link rel="stylesheet" href="__CSS__/s_pop.css">
</head>

<body class="skin-1" style="margin:0px!important;">
<header class="s_cylist-head"><span>{$CompanyName}{if condition="$CompanyTypeId == 4"}惠民店{else/}分公司{/if}收益明细</span></header>
<span class="s-close"><img src="/static/images/admin/close.png" onclick="window.parent.closeDialog();" alt="close"/></span>
<div class="s_task-pop">
    <form class="form-horizontal s_input-bgcolor" method="post" action="" style="overflow: hidden;border-bottom: 1px solid #ededed;">
        {if condition="$CompanyTypeId != 4"}
        <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 pad-b20">
            <div class="form-group">
                <label class="col-sm-3 control-label text-right no-padding-right" >收益类型： </label>
                <div class="col-sm-8" style="padding: 0;">
                    <select name="sSource" class="form-control">
                        <option>全部</option>
                        <option value="1" {if condition="$sSource == 1"}selected{/if}>藏宝</option>
                        <option value="2" {if condition="$sSource == 2"}selected{/if}>商城</option>
                        <option value="3" {if condition="$sSource == 3"}selected{/if}>推荐股东</option>
                        <option value="4" {if condition="$sSource == 4"}selected{/if}>直播</option>
                        <option value="5" {if condition="$sSource == 5"}selected{/if}>游戏</option>
                    </select>

                </div>
            </div>
        </div>
        {/if}
        <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 pad-b20">
            <div class="form-group">
                <label class="col-sm-3 control-label text-right no-padding-right" for="start">申请时间： </label>
                <div class="col-sm-8">
                    <div class="input-daterange input-group">
                        <input type="text" class="input-sm form-control hm-shop-upgrade" placeholder="开始时间" value="{$start}" name="start" id="start"  style="">
                        <span class="input-group-addon" style="background: none;border: none;">
																	-
																</span>
                        <input type="text" class="input-sm form-control hm-shop-upgrade" placeholder="结束时间" value="{$end}" name="end" id="end" >
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 pad-b20 text-right">
            <button class="btn " style="width: 70px; border-radius: 2rem; background: #fba40a!important;border:none;margin-left: 20px;">查询</button>
        </div>
    </form>
    <table class="table table-hover s_task-table">
        <thead>
        <tr>
            <th class="left">收益类型</th>
            <th class="left">金额(￥)</th>
            <th class="left">时间</th>
        </tr>
        </thead>

        <tbody>

        {empty name="resList"}
        <tr class="s_tr-vertical">
            <td colspan="4" class="center" style="color: red;">没有查询到结果</td>
        </tr>
        {/empty}

        {volist name="resList" id="vo"}
        <tr class="s_tr-vertical">
            <td class="left"><span>{$vo.sourceName}</span></td>
            <td class="left">{$vo.money|default='0'}</td>
            <td class="left">{$vo.addtime}</td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="text-center">
        {$page}
    </div>
</div>
<script src="__STATIC__/js/laydate.js"></script>
<script>
    laydate.render({
        elem: '#start' //指定元素
    });
    laydate.render({
        elem: '#end' //指定元素
    });
</script>

</body>
</html>
